package cn.java76.springboot.demo1.dao;

import cn.java76.springboot.demo1.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OUserMapper {
    public int add(OUser contract);
    public int update(OUser contract);
    public int del(long id);
    public OUser get(long id);
    public int findTotal(@Param("name") String name, @Param("tele") String tele, @Param("stardate") Date stardate, @Param("enddate") Date enddate);
    public List<OUser> find(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize, @Param("name") String name, @Param("tele") String tele, @Param("stardate") Date stardate, @Param("enddate") Date enddate);
}
